let age = 18;

if(age >= 18){
	console.log("You are an adult");
}else{
	console.log("You are a minor.");
}

// 三元运算符 (简化的 if/else)
let status = age >= 18 ? "adult" : "minor";
console.log(status); // 